package jdkproxy;

/**
 * Created by cyn on 2019/2/22.
 */
public class HelloServiceMain {

    public static void main(String[] args) {
        HelloServiceProxy helloServiceProxy = new HelloServiceProxy();
        HelloService bind = (HelloService) helloServiceProxy.bind(new HelloServiceImpl());
        bind.sayHello("张三");
    }
}
